package cn.xuchunh.campusbbs.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;

import com.facebook.drawee.view.SimpleDraweeView;

import cn.xuchunh.campusbbs.R;

/**
 * Created by XuChunH on 2015/10/18.
 */
public class PersonHeaderViewHolder extends RecyclerView.ViewHolder {

    public SimpleDraweeView avatar;
    public TextView userName, credits, userTitle;

    public PersonHeaderViewHolder(View itemView) {
        super(itemView);
        userName = (TextView) itemView.findViewById(R.id.username);
        credits = (TextView) itemView.findViewById(R.id.credits);
        userTitle = (TextView) itemView.findViewById(R.id.usertitle);
        avatar = (SimpleDraweeView) itemView.findViewById(R.id.avatar);
    }
}
